/**
 * @author : dormi330
 * @date : 2020-03-04
 * description : 文件描述
 */

package isvb.impl.model;


import org.dormi.learn.promotion.model.Sku;
import org.dormi.learn.promotion.util.BaseSerializable;

import java.math.BigDecimal;

public class SkuIsvB extends BaseSerializable implements Sku {

    private Long id;
    private Long spuId;
    private BigDecimal price;

    public SkuIsvB(Long id, Long spuId, BigDecimal price) {
        this.id = id;
        this.spuId = spuId;
        this.price = price;
    }

    @Override
    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    @Override
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
